﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace DockSample
{
    class DataStore:OriginalDiagram
    {
        #region 构造函数
        public DataStore(Point p, int width=90, int  height=50):base( p,  width,   height)
            
        {

            this.Name = "DataStore";
        }
       
        #endregion
        //***********************************************************************************
        public override void Drawing(Graphics g, DummyModelForm m)
        {
            g.DrawLine(pen, new Point(UpLeftpoint.X,UpLeftpoint.Y+20), new Point(UpLeftpoint.X + width, UpLeftpoint.Y+20));

            g.DrawLine(pen, new Point(UpLeftpoint.X, UpLeftpoint.Y + height - 10), new Point(UpLeftpoint.X + width, UpLeftpoint.Y + height - 10));

        //    g.DrawString(this.name, drawFont, drawBrush, new Point(upLeftpoint.X, upLeftpoint.Y - 15));

            base.Drawing(g, m);
        }
    }
}
